.checkout {
  .flex();
}
.checkout-progress {}
.checkout-steps {
  .display(flex);
  .justify-content(space-between);
  width: 100%;
  @media screen and (max-width: @screen-xs-max) {
    .flex-direction(column);
  }
}
.checkout-steps .panel-default > .panel-heading,
.checkout-steps .panel-default .panel-heading {
  .display(flex);
  .align-items(center);
}

.checkout-steps-main {
  .flex(1 1 auto);
  max-width: 100%;
  .margin-right(3rem);
  @media screen and (max-width: @screen-xs-max) {
    .margin-right(0);
  }
}
.checkout-steps-side {
  .flex(1 0 auto);
  min-width: 300px;
  max-width: 30%;
  @media screen and (max-width: @screen-xs-max) {
    min-width: 100%;
    max-width: 100%;
  }
}
.cart-checkout-steps {
  .padding-left(5px);
  margin-top: 20px;
  .panel-title {
    .margin-left(25px);
  }
}
@media screen and (min-width: @screen-sm-min) {
  .cart-checkout-steps {
    .col-md-8 {
      .padding-right(15px);
    }
  }
}
@media screen and (min-width: @screen-lg-min) {
  .cart-checkout-steps {
    max-width: 1200px;
    margin: 0 auto;
  }
}
.checkout-step-pending {
  position: relative;
  > .panel-default {
    height: 300px;
    margin-bottom: 3rem;
    background-color: @black05;
  }
  > .panel-default .panel-heading,
  .panel-body {
    background-color: @black05;
    border: none;
  }
}
.checkout-step {
  position: relative;
  > .panel-default {
    margin-bottom: 3rem;
  }
}
.checkout-step-badge {
  .display(flex);
  .justify-content(center);
  .align-items(center);
  .flex(0 0 auto);
  width: 38px;
  height: 38px;
  .margin-right(20px);
  border-radius: 19px;
  background: @checkout-progress-next;
  color: @checkout-progress-next-text;
  font-size: 16px;
  font-weight: bold;
}
.checkout-step-badge.completed {
  background: @checkout-progress-visited;
  color: @checkout-progress-visited-text;
}
.checkout-step-badge.active {
  background: @checkout-progress-active;
  color: @checkout-progress-active-text;
}

.core-payment-method-form {
  margin-bottom: 20px;
}

.completed-order-container {
  display: flex;
  justify-content: center;
}

.order-completed {
  display: flex;
  .flex();
  margin: 20px;
}

.order-completed h3 {
  color: #1c98d4;
  font-size: 48px;
  font-weight: bold;
  font-family: @font-family-sans-serif;
}

.order-details-header {
  .flex(0 0 100%);
  margin-bottom: 40px;
  font-size: 16px;
}

.order-details-main {
  .flex(1 1 auto);
  max-width: 100%;
  .margin-right(3rem);
  @media screen and (max-width: @screen-xs-max) {
    .margin-right(0);
  }
}

.order-details-main h4 {
  font-size: 16px;
}

.order-details-side {
  .flex(1 0 auto);
  font-size: 16px;
  line-height: 1.5;
  min-width: 300px;
  max-width: 30%;
  @media screen and (max-width: @screen-xs-max) {
    min-width: 100%;
    max-width: 100%;
  }
}


.order-details-info-box {
  width: 100%;
  height: auto;
  border: solid 1px #ccc;
  padding: 10px;
  background-color: @white;
}

.order-details-info-box-topless {
  width: 100%;
  height: auto;
  border-left: solid 1px #ccc;
  border-right: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  padding: 10px;
  background-color: @white;
}

.order-details-shop-breakdown {
  margin-bottom: 20px;
}

.store-detail-box {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
}

.order-details-store-title {
  flex: 1 1 auto;
  justify-content: flex-start;
  font-weight: bold;
  margin-left: 5px;
}

.order-details-shipping-name {
  color: #8c8c8c;
  text-align: right;
  font-weight: normal;
}

.order-details-content-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.75;
  margin-bottom: 15px;
  margin-top: 25px;
  span {
    text-transform: lowercase;
  }
  p::first-letter {
    text-transform: capitalize;
  }
}

.order-details-info-box-content {
  margin: 10px;
}

.order-details-line {
  display: flex;
  flex: 1 1 auto;
  margin: 10px 10px 10px 0;
  justify-content: flex-start;
}

.order-details-media {
  width: 40px;
  height: 40px;
  margin: 5px;

  img {
    width: 100%;
  }
}

.order-details-title {
  flex: 1 1 25%;
  text-align: left;
  margin-top: 5px;
  margin-left: 10px;
  color: #343434;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.order-details-title p {
  font-weight: 600;
  font-size: 14px;
  font-style: italic;
  color: #bbbbbb;
  letter-spacing: 0.4px;
}

.order-details-quantity {
  flex: 1 1 auto;
  span {
    position: relative;
    top: 35%;
  }
}

.order-details-price {
  flex: 1 1 auto;
  text-align: right;
  font-weight: bold;
  color: #343434;
  span {
    position: relative;
    top: 35%;
  }
}


.order-summary-line {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
}


.order-summary-title {
  flex: 1 1 auto;
}

.order-summary-value {
  text-align: right;
}

.order-summary-header-line {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
  border-top: 1px solid #bfbfbf;
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
}

.order-summary-store-name {
  font-size: 14px;
  color: #bfbfbf;
  text-align: right;
}

.order-summary-discount-title {
  flex: 1 1 auto;
  margin-left: 10px;
}

.order-summary-discount-value {
  text-align: right;
  margin-right: 10px;
}

.order-summary-surcharge-title {
  flex: 1 1 auto;
  margin-left: 10px;
}

.order-summary-surcharge-value {
  text-align: right;
  margin-right: 10px;
}

.order-summary-total-title {
  flex: 1 1 auto;
  font-weight: bold;
  text-transform: uppercase;
  margin-left: 10px;
}

.order-summary-total-value {
  text-align: right;
  font-weight: bold;
  margin-right: 10px;
}

.order-details-email-box-container {
  display: flex;
  .flex();
}

.order-details-email-box {
  height: auto;
  border: solid 1px #ccc;
  padding: 10px;
  background-color: @white;
  .flex(1 1 auto);
  max-width: 100%;
  .margin-right(3rem);
  @media screen and (max-width: @screen-xs-max) {
    .margin-right(0);
  }
}

.order-details-email-box-side {
  .flex(1 0 auto);
  min-width: 300px;
  max-width: 30%;
  @media screen and (max-width: @screen-xs-max) {
    min-width: 100%;
    max-width: 100%;
  }
}

.add-email-input {
  font-size: 14px;
  padding-top: 20px;
  color: #343434;
  flex: 1 1 auto;

  .form-group {
    display: inline-block;
    &.textfield {
      width: 70%;
      padding-right: 10px;
    }
    &.submit {
      width: 20%;
    }
  }

  input {
    background-color: #fafafa;
    margin-top: 10px;
    padding-right: 10px;
    width: 322px;
  }

  button {
    background-color: #1999dd;
    color: @white;
    width: 162px;
    font-weight: 600;
    border: 0;
    margin-top: 10px;
    vertical-align: top;
  }
}
